package com.wu.ssm.mybatis;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by wzf on 2018/11/11/011.
 */
public class UserMapperXml {
    //类xml的命名空间
    public static final String namespace="com.wu.ssm.mybatis.UserMapper";

    public static final Map<String,String> map=new HashMap<String,String>();

    static{
        //模拟xml中的id与sql语句
        map.put("getUserById", "select * from User where id =?");
    }

}
